package com.hen.web.henweb.model.po;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.hen.web.henweb.model.enumeration.SexEnum;
import lombok.Data;

/**
 * @author 狠穿
 * @version 1.0.0
 * @date 2023/5/1
 * @function 用户实体类
 */
@TableName("t_user")
@Data
public class User {
    @TableId(type = IdType.ASSIGN_ID)
    private String id;
    private String account;
    private String password;
    private String nickName;
    private SexEnum sex;
    private String motto;
    private String avatar;
    private int level; //等级
    private String phoneNumber;
}
